package cn.njxzc.ppt;

/**
 * *
 * 
 * @Program Name : JavaProgram.ppt.Flower.java
 * @Written by : Roy Xu
 * @Creation Date : 2016��4��5�� ����9:18:50
 * @version : v1.00
 * @Description : ��һ�����캯���е�����һ�����캯��
 * @ModificationHistory Who When What -------- ----------
 *                      ------------------------------------------------ Roy Xu
 *                      2016��4��5������9:18:50 TODO
 ** 
 */
class Flower {
	String name;
	int price;

	Flower() {
		this("tulip", 10);
	}

	Flower(String s, int i) {
		name = s;
		price = i;
	}

	void print() {
		System.out.println(name + " " + price);
	}

	public static void main(String args[]) {
		Flower f = new Flower();
		f.print();
	}
}
